From 090832c6fa3207c8cf21f2ba00ff299cae6b7a12 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 18 Oct 2017 09:52:48 +0800 Subject: [PATCH] redo the gdk installed tests --- testsuite/gdk/gdk.test.in | 4 ++++ testsuite/gdk/meson.build | 18 +++++++----------- 2 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 testsuite/gdk/gdk.test.in diff --git a/testsuite/gdk/gdk.test.in b/testsuite/gdk/gdk.test.in new file mode 100644 index 0000000000..709cb6a6bd --- /dev/null +++ b/testsuite/gdk/gdk.test.in @@ -0,0 +1,4 @@ +[Test] +Exec=@testexecdir@/@test@ --tap -k --verbose +Type=session +Output=TAP diff --git a/testsuite/gdk/meson.build b/testsuite/gdk/meson.build index 0694b424e0..84b503daa5 100644 --- a/testsuite/gdk/meson.build +++ b/testsuite/gdk/meson.build @@ -23,18 +23,14 @@ foreach t : tests env: installed_test_env, suite: 'gdk') -endforeach - -if get_option('install-tests') - test_cdata = configuration_data() - test_cdata.set('libexecdir', gtk_libexecdir) - - foreach t : tests - configure_file(input: '@0@.test.in'.format(t), + if get_option('install-tests') + test_cdata = configuration_data() + test_cdata.set('testexecdir', testexecdir) + test_cdata.set('test', t) + configure_file(input: 'gdk.test.in', output: '@0@.test'.format(t), configuration: test_cdata, install: true, install_dir: testdatadir) - endforeach - -endif + endif +endforeach -- 2.30.2